function research(){
    var values = document.getElementById("geturl").value;
    document.getElementById("listform3").action = '/admin/' + values + '/research';
    document.getElementById("listform3").submit();
}

function fgsearch(){
    document.getElementById("fgsearchform").action="/";
    document.getElementById("fgsearchform").submit();
    document.getElementById("fgsearch-input1").style.display="block";
}
function fgsearch1(){
    document.getElementById("fgsearch-input1").style.display="none";
}

function  judgeCommentIsNull(){
    if( document.getElementById("fgcontent").value == null ||
        document.getElementById("fgcontent").value == ""    ){
        document.getElementById("fgcontent").placeholder = "评论不为空！"
    }
    else {
        document.getElementById("commentform").submit();
    }
}